const {
    ID,
    KEY,
    BASE_URL
} = require('../config/index')
const AV = require('../lib/av-core-min.js');
const adapters = require('../lib/leancloud-adapters-weapp.js');
AV.setAdapters(adapters);
AV.init({
    appId: ID,
    appKey: KEY,
    serverURL: BASE_URL
});